const path = require("path");
const args = process.argv.slice(2);
if (!args.length) {
  process.exit(0);
}
console.log(`waiting ${args.join(" ")} ...`);

const { execute } = require(path.resolve(__dirname, `./cli-${args[0]}`));
if (execute instanceof Function) {
  execute(args.slice(1));
}
